package com.letoken.platform.repo.admin.req.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author: letokenlabs
 * @Date: 2022/1/6 16:33
 */
@Data
public class AdminUserReq {

    @ApiModelProperty(name = "username", value = "账号", required = true, example = "admin123456")
    @NotBlank(message = "80101001")
    private String username;

    @ApiModelProperty(name = "password", value = "密码", required = true, example = "admin123456")
    @NotBlank(message = "80101002")
    private String password;

    @ApiModelProperty(name = "uuid", value = "生成验证码方法返回的uuid", required = true, example = "b09336cba4664dc88c947f54e05aa801")
    @NotBlank(message = "80101034")
    private String uuid;

    @ApiModelProperty(name = "输入的验证码结果", value = "输入的验证码结果", required = true, example = "1")
    @NotBlank(message = "80101035")
    private String code;
}
